package com.sakura.mall.order.orderSetting.service;

import com.sakura.mall.common.response.Page;
import com.sakura.mall.order.orderSetting.domain.entity.OrderSettingEntity;
import com.sakura.mall.order.orderSetting.domain.request.AddOrderSettingRequest;
import com.sakura.mall.order.orderSetting.domain.request.UpdateOrderSettingRequest;
import com.sakura.mall.order.orderSetting.domain.request.OrderSettingPageRequest;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sakura.mall.order.orderSetting.domain.vo.OrderSettingVo;

/**
 * 订单配置信息 service
 *
 * @author sakura
 */
public interface OrderSettingService extends IService<OrderSettingEntity> {
    

    /**
     * 分页查询
     *
     * @param request 请求
     * @return ret
     */
    Page<OrderSettingVo> queryPage(OrderSettingPageRequest request);

    /**
    * 注册用户
    *
    * @param request 请求
    */
    void add(AddOrderSettingRequest request);
    

    /**
     * 更新用户
     *
     * @param id      id
     * @param request 更新
     */
    void updateById(Long id, UpdateOrderSettingRequest request);
}
